package com.example.adminbase.domain;

public class BusinessException extends RuntimeException {
    private String displayMessage;

    public BusinessException(Throwable cause) {
        super(cause);
    }
    public BusinessException(Throwable cause, String displayMessage) {
        super(cause);
        this.displayMessage = displayMessage;
    }

    public String getDisplayMessage() {
        return displayMessage;
    }
}
